﻿using System;


class SayHello
{
  //  Write a method that asks the user for his name and prints “Hello, <name>”
  //  Write a program to test this method.

        static void Main()
        {
            Greeting();
        }
    
    static void Greeting ()
        {

            Console.WriteLine("Please enter your name");
            string name = Console.ReadLine();
            Console.WriteLine("Hello, {0}!", name);
        }
}

